﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace MapEditor
{
    public class TileClass
    {
        public enum ObjType { OBJ_BLOCK = 0, OBJ_FLAG = 1, OBJ_FLOOR = 2, OBJ_JUMPBOX = 3, OBJ_LAUNCHCANNON = 4, OBJ_RAMPS = 5, OBJ_SPIKE = 6, OBJ_TURRET = 7, OBJ_PLAYER = 8, OBJ_NUM };

        // Position
        private Point pos = new Point();

        public Point Pos
        {
            get { return pos; }
            set { pos = value; }
        }

        // which image to use
        private Bitmap bitmap;

        public Bitmap Bitmap
        {
            get { return bitmap; }
            set { bitmap = value; }
        }

        // what type of object it is using a number --> if type == -1 then obj type NOT set
        private int type = -1;

        public int Type
        {
            get { return type; }
            set { type = value; }
        } 
    }
}
